﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;

namespace CommonFramework
{
    public class FilePathMgr
    {
        private IniFileAccess iniFile;

        public string FilePath_System = "";
        public string FilePath_Log = @"\Log";
        public string FilePath_Demo = @"\Demo";

        public FilePathMgr() 
        {
            //Debug.Assert(File.Exists(iniFileFullName));

            iniFile = new IniFileAccess(Application.StartupPath+@"\Context.ini");

            FilePath_Log = iniFile.Read("system", "DataDir");
            FilePath_Demo = iniFile.Read("system", "DataLog");
        }        
    }
}
